package entities;

/**
 * @author Omri Barda		039725890 
 * @author Amit Joseph		034608547
 * @author Gilad Shpigel  	300162393
 * @author Elad Elbaz		040539959
 * @version June 2012
 */

import java.sql.Date;

public class Principal extends User {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String assignmentYear;

	/**
	 * constructor
	 * 
	 * @param principalID
	 * @param password
	 * @param firstName
	 * @param surName
	 * @param authorizationLevel
	 * @param address
	 * @param dateOfBirth
	 * @param phoneNumber
	 * @param assignmentYear
	 */
	public Principal(int principalID, String password, String firstName,
			String surName, String authorizationLevel, String address,
			Date dateOfBirth, String phoneNumber, String assignmentYear) {
		super(principalID, password, firstName, surName, authorizationLevel,
				address, dateOfBirth, phoneNumber);
		this.assignmentYear = assignmentYear;
	}

	/**
	 * empty constructor
	 */
	public Principal() {

	}

	public Boolean ChangeDurationTimeAnswer() {

		return null;

	}

	// ------------------
	// Setters & Getters
	// ------------------

	/**
	 * @return the assignmentYear
	 */
	public String getAssignmentYear() {
		return assignmentYear;
	}

	/**
	 * @param assignmentYear
	 *            the assignmentYear to set
	 */
	public void setAssignmentYear(String assignmentYear) {
		this.assignmentYear = assignmentYear;
	}

}
